package com.example.demo.mapper;

import com.example.demo.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface PermissionMapper {
    List<Permission> findByRoleId(Long roleId);
    Permission findById(Long id);
    int insert(Permission permission);
    int update(Permission permission);
}